/** 分类页面相关接口 */
/**
 * 分类列表-小程序
GET
/category/top
 */

import type { CategoryResult } from '@/types/category'
import { http } from '@/utils/http'

export const getCategoryTopAPI = () => {
  return http<CategoryResult[]>({
    method: 'GET',
    url: '/category/top',
  })
}
